package com.utils;

// hold random variable 
public class Random {
	
	// private static long seed = 123456;
	// private static java.util.Random random = new java.util.Random(seed);
	private static java.util.Random random = new java.util.Random();
	
	// return random int between 0 to max
	public static int nextInt(int max){
		return random.nextInt(max);
	}
	
	// return random double
	public static double nextDouble(double max_min){
		return (random.nextDouble() * 2 * max_min) - max_min;
	}
}